package com.xln.furns.utils;

import java.time.LocalDateTime;

public class GetDateTime {

    public static String getDateTime(){
        LocalDateTime ldt = LocalDateTime.now();
        int year = ldt.getYear();
        int month = ldt.getMonthValue();
        int day = ldt.getDayOfMonth();
        String dateTime = year + "/" + month + "/" + day;
        return dateTime;
    }

    // public static void main(String[] args) {
    //     System.out.printf(GetDateTime.getDateTime());
    // }
}
